package com.fzj.example.design.decorator;

/**
* @Description  抽象的装饰
* @Author  fanzj
* @Date   2020/5/10 11:48 上午
* @Param
* @Return
* @Exception
*
*/
public class Decorator implements Component {

    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void create() {
        this.component.create();
    }
}
